import Vue from 'vue'
import Router from 'vue-router'
import Commit from '@/components/Commit'
import Committer from '@/components/Committer.vue'
import Index from '@/components/Index.vue'
import RepoInfo from '@/components/RepoInfo.vue'
import CommitterFromPR from '@/components/CommitterFromPR.vue'
import Issues from '@/components/Issues.vue'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/Commit',
            name: 'Commit',
            component: Commit
        },{
            path: '/Committer',
            name: 'Committer',
            component: Committer
        },{
            path: '/',
            name: 'Index',
            component: Index
        },
        {
            path: '/RepoInfo',
            name: 'RepoInfo',
            component: RepoInfo
        },
        {
            path: '/CommitterFromPR',
            name: 'CommitterFromPR',
            component: CommitterFromPR
        },
        {
            path: '/Issues',
            name: 'Issues',
            component: Issues
        }
    ]
})
